package com.lsl.domain;

import com.lsl.utils.Status;

/**架构师
 * @author lishuailong
 * @create 2020-06-19 16:31
 */
public class Architect extends Designer {
    /**
     * 公司奖励的股票数量
     */
    private  int stock;

    public Architect(int id, String name, int age, double salary, Equipment equipment, double bonus, int stock) {
        super(id, name, age, salary, equipment, bonus);
        this.stock = stock;
    }

    public Architect() {
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }
    @Override
    public String toString() {
        return getDetails() + "\t架构师\t" + getStatus() + "\t" +
                getBonus() + "\t" + getStock() + "\t" + getEquipment().getDescription();
    }
}
